package cn.detu.ln.service;

import cn.detu.ln.entity.Warning;
import cn.detu.ln.utils.RestUtil;

/**
 * @author :ln
 * @version : 1.0
 * @Project : education_backend
 * @Package : cn.detu.ln.service
 * @ClassName : WarningService.java
 * @createTime : 2023/4/10 18:59
 * @Description :
 */
public interface WarningService {
    RestUtil selectAll();
    Warning queryWarningByNum(Long stuNum);
    RestUtil warningDelete(Integer warningId);

    RestUtil warningUpdate(Warning warning);

    RestUtil warningInsert(Warning warning);
    // 按学生学号实现查询
    RestUtil queryWarningByStuNumPage(Integer current, Integer rows, String search);
    // 根据学号查找警告信息
    RestUtil select(Long stuNum);
    // 根据课程号查询警告信息
    RestUtil queryWarningByCouIdPage(Integer current, Integer rows, String search);
    // 根据周数查询警告信息
    RestUtil queryWarningByWeekPage(Integer current, Integer rows, String search);

}
